import { get } from '../js/model/http'

class Detail {
  constructor() {
    console.log('detail page')
    this.getPoistion();
  }

  async getPoistion() {
    let id = location.search.replace('?', '');
    let rs = await get(`/api/positionlist/${id}`)
    console.log(rs);
  }
}

new Detail();